home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / mac / files / ID99MENU.DIR / 00018_Script_juror hilite box script < prev    next >
Text File  |  1999-04-29  |  843b  |  35 lines

  1. global firstjurorhilite,jurorcomments,currtitle,jurorspeaking,demofolder,talkaboutbronze
  2.  
  3. property s,mycomment,myjuror
  4.  
  5. on beginsprite me
  6.   s = the spritenum of me
  7.   mycomment = false
  8.   myjuror = (s-firstjurorhilite+1)
  9. end
  10.  
  11. on prepareframe me
  12.   set the visible of sprite s to mycomment
  13.   if jurorspeaking = myjuror then
  14.   end if
  15. end
  16.  
  17. on switchtext me,thetitle
  18.   whichcomment = getat(getat(jurorcomments,thetitle),myjuror)
  19.   mycomment = (whichcomment<>"") and ((currtitle<29) or (talkaboutbronze=true))
  20. end
  21.  
  22. on growup
  23.   mycomment = false
  24. end
  25.  
  26. on mouseup
  27.   if the doubleclick then exit
  28.   if soundbusy(4) and jurorspeaking = myjuror then
  29.     sound stop 4
  30.     exit
  31.   end if
  32.   whichcomment = getat(getat(jurorcomments,currtitle),myjuror)
  33.   sound playfile 4,(demofolder & whichcomment)
  34.   jurorspeaking = myjuror
  35. end